package com.hooda.config;

import cn.com.duiba.credits.sdk.CreditTool;
import com.hooda.pojo.AnotherComponent;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author zhangzp
 * @version 1.0, 2021/9/18
 */
@Configuration
public class AnotherConfiguration {

    @Bean
    @ConfigurationProperties(prefix = "another")
    public AnotherComponent anotherComponent() {
        return new AnotherComponent();
    }

}
